//
//  Animal.m
//  Class
//
//  Created by mac on 16-4-12.
//  Copyright (c) 2016年 zzn. All rights reserved.
//

#import "Animal.h"

@implementation Animal
-(void)eat
{
    NSLog(@"%@ eat!",self.name);
}

-(void)sleep
{
    NSLog(@"%@ sleep!",self.name);
}

//-(NSComparisonResult)compare:(Animal *)ani;

@end
